﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Xc.DataAccess.Core.Extensions;
namespace Xc.DataAccess.PcpChannels
{
    /// <summary>
    /// 消息码
    /// </summary>
    public enum MessageCode
    {
        /// <summary>
        /// 平台预留
        /// </summary>
        Reatin = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18,
        /// <summary>
        /// 查询设备版本
        /// </summary>
        QueryDeviceVersion = 19,
        /// <summary>
        /// 新版本通知
        /// </summary>
        NewVersionNotify = 20,
        /// <summary>
        /// 请求升级包
        /// </summary>
        PackageRequest = 21,
        /// <summary>
        /// 上报升级包下载状态
        /// </summary>
        UploadUpgradeStatus = 22,
        /// <summary>
        /// 执行升级
        /// </summary>
        ExecuteUpdate = 23,
        /// <summary>
        /// 上报升级结果
        /// </summary>
        UploadUpdateResult = 24,
    }
}
